﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.JointVariableLimitsEditor.CApJVLEditorViewModelConvertor
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll


namespace DnProcessSimulateCommands.JointVariableLimitsEditor;

internal class CApJVLEditorViewModelConvertor
{
  internal static CApJVLEditorViewModel_ListChangedType ListChangedType(System.ComponentModel.ListChangedType lc)
  {
    CApJVLEditorViewModel_ListChangedType modelListChangedType;
    switch (lc)
    {
      case System.ComponentModel.ListChangedType.ItemAdded:
        modelListChangedType = CApJVLEditorViewModel_ListChangedType.ItemAdded;
        break;
      case System.ComponentModel.ListChangedType.ItemDeleted:
        modelListChangedType = CApJVLEditorViewModel_ListChangedType.ItemDeleted;
        break;
      case System.ComponentModel.ListChangedType.ItemMoved:
        modelListChangedType = CApJVLEditorViewModel_ListChangedType.ItemMoved;
        break;
      case System.ComponentModel.ListChangedType.ItemChanged:
        modelListChangedType = CApJVLEditorViewModel_ListChangedType.ItemChanged;
        break;
      default:
        modelListChangedType = CApJVLEditorViewModel_ListChangedType.Reset;
        break;
    }
    return modelListChangedType;
  }
}
